.class Lcom/instagram/android/widget/e;
.super Ljava/lang/Object;
.source "FollowButton.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/instagram/android/model/b/e;

.field final synthetic b:Landroid/support/v4/app/aj;

.field final synthetic c:Lcom/instagram/android/widget/FollowButton;


# direct methods
.method constructor <init>(Lcom/instagram/android/widget/FollowButton;Lcom/instagram/android/model/b/e;Landroid/support/v4/app/aj;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 121
    iput-object p1, p0, Lcom/instagram/android/widget/e;->c:Lcom/instagram/android/widget/FollowButton;

    iput-object p2, p0, Lcom/instagram/android/widget/e;->a:Lcom/instagram/android/model/b/e;

    iput-object p3, p0, Lcom/instagram/android/widget/e;->b:Landroid/support/v4/app/aj;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .parameter "v"

    .prologue
    .line 124
    iget-object v0, p0, Lcom/instagram/android/widget/e;->c:Lcom/instagram/android/widget/FollowButton;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/instagram/android/widget/FollowButton;->setEnabled(Z)V

    .line 125
    invoke-static {}, Lcom/instagram/android/model/b/m;->a()Lcom/instagram/android/model/b/m;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/widget/e;->a:Lcom/instagram/android/model/b/e;

    iget-object v2, p0, Lcom/instagram/android/widget/e;->c:Lcom/instagram/android/widget/FollowButton;

    invoke-virtual {v2}, Lcom/instagram/android/widget/FollowButton;->getContext()Landroid/content/Context;

    move-result-object v2

    iget-object v3, p0, Lcom/instagram/android/widget/e;->b:Landroid/support/v4/app/aj;

    invoke-virtual {v0, v1, v2, v3}, Lcom/instagram/android/model/b/m;->a(Lcom/instagram/android/model/b/e;Landroid/content/Context;Landroid/support/v4/app/aj;)V

    .line 128
    new-instance v0, Landroid/content/Intent;

    const-string v1, "com.instagram.android.service.BROADCAST_FOLLOW_STATUS_CHANGED"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 129
    const-string v1, "com.instagram.android.service.BROADCAST_FOLLOW_STATUS_CHANGED_USER_ID"

    iget-object v2, p0, Lcom/instagram/android/widget/e;->a:Lcom/instagram/android/model/b/e;

    invoke-virtual {v2}, Lcom/instagram/android/model/b/e;->k()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 130
    invoke-static {v0}, Lcom/instagram/n/d;->a(Landroid/content/Intent;)Z

    .line 131
    return-void
.end method
